package TestGitee;

public class Product {
    private int id;
    private int categoryId;
    private char itemType;
    private char title;
    private char sellPoing;
    private long price;
    private int num;
    private char image;
    private int status;
    private int priority;
    private String createdTime;
    private String modifiedTime;
    private char createdUser;
    private char modifiedUser;
    public Product(){

    }

    public Product(int id, int categoryId, char itemType, char title, char sellPoing, long price, int num, char image, int status, int priority, String createdTime, String modifiedTime, char createdUser, char modifiedUser) {
        this.id = id;
        this.categoryId = categoryId;
        this.itemType = itemType;
        this.title = title;
        this.sellPoing = sellPoing;
        this.price = price;
        this.num = num;
        this.image = image;
        this.status = status;
        this.priority = priority;
        this.createdTime = createdTime;
        this.modifiedTime = modifiedTime;
        this.createdUser = createdUser;
        this.modifiedUser = modifiedUser;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public char getItemType() {
        return itemType;
    }

    public void setItemType(char itemType) {
        this.itemType = itemType;
    }

    public char getTitle() {
        return title;
    }

    public void setTitle(char title) {
        this.title = title;
    }

    public char getSellPoing() {
        return sellPoing;
    }

    public void setSellPoing(char sellPoing) {
        this.sellPoing = sellPoing;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public char getImage() {
        return image;
    }

    public void setImage(char image) {
        this.image = image;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(String modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public char getCreatedUser() {
        return createdUser;
    }

    public void setCreatedUser(char createdUser) {
        this.createdUser = createdUser;
    }

    public char getModifiedUser() {
        return modifiedUser;
    }

    public void setModifiedUser(char modifiedUser) {
        this.modifiedUser = modifiedUser;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", itemType=" + itemType +
                ", title=" + title +
                ", sellPoing=" + sellPoing +
                ", price=" + price +
                ", num=" + num +
                ", image=" + image +
                ", status=" + status +
                ", priority=" + priority +
                ", createdTime='" + createdTime + '\'' +
                ", modifiedTime='" + modifiedTime + '\'' +
                ", createdUser=" + createdUser +
                ", modifiedUser=" + modifiedUser +
                '}';
    }
}
